<!DOCTYPE html>

<!-- Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file
     for details. All rights reserved. Use of this source code is governed by a
     BSD-style license that can be found in the LICENSE file.
-->

<!--
  Use this HTML file with note_server.dart and note_client.dart.
  The note_server.dart program writes data sent from the client into the
  notes.txt file.
-->

<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Write a Note</title>
    <script defer type="application/dart" src="note_client.dart"></script>
    <script defer src="packages/browser/dart.js"></script>
  </head>

  <body>
    <h1>Write a Note</h1>

    <div class="sample_container_id">
      <div>
        <input id="note_entry" maxlength="50">
        <button id="save_note">Save Note</button>
        <p id="display_how_many_notes"></p><br>
      </div>
      
      <div>
        <input id="choose_note" type="text" maxlength="10">
        <button id="get_note">Get Note</button>
        <p id="display_note"></p><br>
      </div>
      
    </div>
  </body>
</html>
